package com.wuzheng.wisgo.sanitation.cloud.model.plan.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author：hoipang
 * @date：Created in 2019-12-19
 * @description：作业计划参数
 * @modified By：
 * @version: 1.0
 */
@ApiModel(value = "JobPlanSaveParam", description = "作业计划参数")
public class JobPlanSaveParam {
    @ApiModelProperty(value = "id")
    private String id;
    /**
     * 计划名称
     */
    @ApiModelProperty(value = "计划名称")
    private String planName;
    /**
     * 作业类型code
     */
    @ApiModelProperty(value = "作业类型code")
    private String jobTypeCode;
    /**
     * 作业类型名称
     */
    @ApiModelProperty(value = "作业类型名称")
    private String jobTypeName;
    /**
     * 道路参数
     */
    @ApiModelProperty(value = "道路参数")
    private List<JobPlanRoadParam> roadParams;
    /**
     * 车辆参数
     */
    @ApiModelProperty(value = "车辆参数")
    private List<JobPlanVehicleParam> vehicleParams;
    /**
     * 班次参数
     */
    @ApiModelProperty(value = "班次参数")
    private List<JobPlanShiftParam> shiftParams;
    /**
     * 作业频次code
     */
    @ApiModelProperty(value = "作业频次code")
    private String jobFrequencyCode;
    /**
     * 作业频次名称
     */
    @ApiModelProperty(value = "作业频次名称")
    private String jobFrequencyName;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 操作方法
     */
    @ApiModelProperty(value = "操作方法，固定值：add或update", required = true)
    @NotBlank(message = "操作方法不能为空")
    private String method;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPlanName() {
        return planName;
    }

    public void setPlanName(String planName) {
        this.planName = planName;
    }

    public String getJobTypeCode() {
        return jobTypeCode;
    }

    public void setJobTypeCode(String jobTypeCode) {
        this.jobTypeCode = jobTypeCode;
    }

    public String getJobTypeName() {
        return jobTypeName;
    }

    public void setJobTypeName(String jobTypeName) {
        this.jobTypeName = jobTypeName;
    }

    public List<JobPlanRoadParam> getRoadParams() {
        return roadParams;
    }

    public void setRoadParams(List<JobPlanRoadParam> roadParams) {
        this.roadParams = roadParams;
    }

    public List<JobPlanVehicleParam> getVehicleParams() {
        return vehicleParams;
    }

    public void setVehicleParams(List<JobPlanVehicleParam> vehicleParams) {
        this.vehicleParams = vehicleParams;
    }

    public List<JobPlanShiftParam> getShiftParams() {
        return shiftParams;
    }

    public void setShiftParams(List<JobPlanShiftParam> shiftParams) {
        this.shiftParams = shiftParams;
    }

    public String getJobFrequencyCode() {
        return jobFrequencyCode;
    }

    public void setJobFrequencyCode(String jobFrequencyCode) {
        this.jobFrequencyCode = jobFrequencyCode;
    }

    public String getJobFrequencyName() {
        return jobFrequencyName;
    }

    public void setJobFrequencyName(String jobFrequencyName) {
        this.jobFrequencyName = jobFrequencyName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }
}
